package com.indeep.user.mapper.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Laixin
 * @description app_experience_level
 * @date 2023-08-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("app_experience_level")
public class AppExperienceLevelPO implements Serializable {

    private static final long serialVersionUID = 9L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 经验值
     */
    private Long exp;

    /**
     * 创建时间-创建时自动填充
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间-创建与修改时自动填充
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}